<?php include THEMES_PATH . 'public/before_body2.phtml'; ?>
<link href="/statics/front/css/measure.css?<?php echo C('update_vesion');?>" rel="stylesheet">
<style>
.data-grid em,
.data-grid i {
  font-style: normal;
}

.data-grid ul {
  overflow: hidden;
  height: 50px;
  padding: .75em 1em;
  border-bottom: 1px solid #e9eaeb;
  *height: 30px;
  *padding-right: 0;
  *padding-left: 0;
}

.data-grid .grid-head {
  height: auto;
  padding: 1.5em 1em;
}

.ie7 .data-grid li,
.ie6 .data-grid li {
  padding-right: 0;
  padding-left: 0;
}

.data-grid li > a {
  font-size: 1.125em;
}

.data-grid li > a:hover {
  text-decoration: none;
}

.photo-box {
  margin-bottom: 1.875em;
  text-align: center;
}

.photo-box > li {
  box-sizing: border-box;
  display: inline-block !important;
  width: 49% !important;
  padding: 0 3%;
}

.photo-box img {
  margin-top: .5em;
}

.measurements .edit {
  cursor: pointer;
}

.measurements span > input {
  width: 60px;
  padding: 0 3px;
  text-align: center;
}

.btn-play {
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-right: 5px;
  background: url() no-repeat;
  vertical-align: middle;
}

.measurement-tips {
  width: 300px;
  text-align: center;
}
</style>
</head>
<body>
<?php include THEMES_PATH.'public/header2.phtml'; ?>
<div class="clearfix center-block main-width">
  <div class="heading">
    <strong><?php echo L('_Check_Measurement_');?></strong>
  </div>
  <form id="measure-form" method="post" action="__SELF__" data-tips="请完成您的身形数据!">
    <div class="data-grid js-data-grid">
      <?php if(($measureInfo['m_status'] == 3 || $measureInfo['m_status'] == 4) || ($measureInfo['front_img'] && $measureInfo['side_img'])):?>
      <ul class="photo-box">
        <li>
          <?php echo L('_measure_front_img_');?>
          <img src="<?php echo $measureInfo['front_img'];?>">
        </li>
        <li>
          <?php echo L('_measure_side_img_');?>
          <img src="<?php echo $measureInfo['side_img'];?>">
        </li>
        <li style="display:block;width:100% !important;padding:0;">
          <a href="<?php echo url('measure/estimation',array('type'=>'user','edit_type'=>'photo','mid'=>$_GET['mid']))?>"><?php echo L('edit');?></a>
        </li>
      </ul>
      <?php endif;?>
      <?php if($measureInfo['m_status'] != 3):?>
      <ul class="clearfix row text grid-head">
        <li class="col-sm-2"><?php echo L('shoulders'); ?>(<?php  echo L($measure_desc['shoulders'][!empty($measure_data['shoulder']['type']) ? $measure_data['shoulder']['type'] :  0]);?>)</li>
        <li class="col-sm-3"><?php echo L('chest'); ?>(<?php  echo L($measure_desc['chest'][!empty($measure_data['chest_type']['type']) ? $measure_data['chest_type']['type'] :  0]);?>)</li>
        <li class="col-sm-3"><?php echo L('flat_stomach_1');?>(<?php  echo L($measure_desc['stomach'][!empty($measure_data['stomach_type']['type']) ? $measure_data['stomach_type']['type'] :  0]);?>)</li>
        <li class="col-sm-3"><?php echo L('flat_posture_1');?>(<?php  echo L($measure_desc['posture'][!empty($measure_data['posture']['type']) ? $measure_data['posture']['type'] :  0]);?>)</li>
        <li class="col-sm-1 align-right">
          <a href="<?php echo url('measure/estimation','type=user&edit_type=describe&mid='.$_GET['mid']);?>" class="text"><?php echo L('edit');?></a>
        </li>
      </ul>
      <?php endif;?>
      <div class="clearfix align-center measurements js-measurements">
        <ul class="col-sm-6">
          <li class="col-md-4 text"><?php echo L('profile_name');?></li>
          <li class="col-md-4 js-measure-value" data-measure-val="<?php echo $measure_data['measure_name'];?>">
            <span><?php echo $measure_data['measure_name'];?></span>
            <input type="hidden" name="measure_name" value="<?php echo $measure_data['measure_name'];?>">
	        </li>
          <li class="col-md-4"></li>
        </ul>
        <ul class="col-sm-6">
          <li class="col-md-4"><?php echo L('age');?></li>
          <li class="col-md-4 js-measure-value" data-measure-val="<?php echo $measure_data['age'];?>">
            <span><?php echo $measure_data['age']?></span>
            <input type="hidden" name="measure[age]" value="<?php echo $measure_data['age'];?>">
          </li>
          <li class="col-md-4 align-right"></li>
        </ul>
        <ul class="col-sm-6">
          <li class="col-md-4 text"><?php echo L('height');?></li>
          <li class="col-md-4 js-measure-value" data-measure-val="<?php echo $measure_data['height']['cm'];?>">
            <span><?php echo $measure_data['height']['cm'] ?>cm</span>
            <input type="hidden" name="measure[height]" value="<?php echo $measure_data['height']['cm'];?>">
          </li>
          <li class="col-md-4 align-right"></li>
        </ul>
        <ul class="col-sm-6">
          <li class="col-md-4 text"><?php echo L('weight');?></li>
          <li class="col-md-4 js-measure-value" data-measure-val="<?php echo $measure_data['weight']['kg'];?>">
            <span><?php echo $measure_data['weight']['kg']; ?>kg</span>
            <input type="hidden" name="measure[weight]" value="<?php echo $measure_data['weight']['kg'];?>">
          </li>
          <li class="col-md-4 align-right"></li>
        </ul>
        <?php if($measureInfo['m_status'] == 1 || $measureInfo['m_status'] == 4):?>
        <?php if((!intval($_GET['pid'])&&(in_array("neck",$data_arr)||$cart==0))||(intval($_GET['pid'])&&in_array("neck",$measure_data_model))){?>
        <ul class="col-sm-6">
          <li class="col-md-4 text<?php if($measure_data['neck']['cm']==0){?> red<?php }?>"><?php echo L('neck_length');?></li>
          <li class="col-md-4 js-measure-value" data-measure-val="<?php echo $measure_data['neck']['cm'];?>">
            <?php if($measure_data['neck']['cm'] > 0) {?>
            <span><?php echo $measure_data['neck']['cm']>0?$measure_data['neck']['cm']:"";?> <?php echo $measure_data['neck']['cm']>0?"cm":"";?></span>
            <?php } else { ?>
            <span class="red edit js-edit" data-text="<?php echo L('edit');?>"><?php echo L('edit');?></span>
            <?php } ?>
            <input type="hidden" name="measure[neck]" value="<?php echo $measure_data['neck']['cm'];?>">
          </li>
          <li class="col-md-4 align-right">
            <a href="//fast.wistia.net/embed/iframe/6y3e69cqcm?popover=true" class="wistia-popover[height=576,playerColor=3eabb8,width=1024]">
              <span class="btn-play"></span>
              <em class="vm">帮助</em>
            </a>
          </li>
        </ul>
        <?php }?>
        <?php if((!intval($_GET['pid'])&&(in_array("jacket_back",$data_arr)||$cart==0))||(intval($_GET['pid'])&&in_array("jacket_back",$measure_data_model))){?>
        <ul class="col-sm-6">
          <li class="col-md-4 text<?php if($measure_data['jacket_back']['cm']==0){?> red<?php }?>"><?php echo L('jacket_back');?></li>
          <li class="col-md-4 js-measure-value" data-measure-val="<?php echo $measure_data['jacket_back']['cm'];?>">
            <?php if($measure_data['jacket_back']['cm'] > 0) {?>
            <span><?php echo $measure_data['jacket_back']['cm']>0?$measure_data['jacket_back']['cm']:"";?> <?php echo $measure_data['jacket_back']['cm']>0?"cm":"";?></span>
            <?php } else { ?>
            <span class="red edit js-edit" data-text="<?php echo L('edit');?>"><?php echo L('edit');?></span>
            <?php } ?>
            <input type="hidden" name="measure[jacket_back]" value="<?php echo $measure_data['jacket_back']['cm'];?>">
          </li>
          <li class="col-md-4 align-right">
            <a href="//fast.wistia.net/embed/iframe/m7qz9m1xz8?popover=true" class="wistia-popover[height=576,playerColor=3eabb8,width=1024]">
              <span class="btn-play"></span>
              <em class="vm">帮助</em>
            </a>
          </li>
        </ul>
        <?php }?>
        <?php if((!intval($_GET['pid'])&&(in_array("bicep",$data_arr)||$cart==0))||(intval($_GET['pid'])&&in_array("bicep",$measure_data_model))){?>
        <ul class="col-sm-6">
          <li class="col-md-4 text<?php if($measure_data['bicep']['cm']==0){?> red<?php }?>"><?php echo L('bicep_size');?></li>
          <li class="col-md-4 js-measure-value" data-measure-val="<?php echo $measure_data['bicep']['cm'];?>">
            <?php if($measure_data['bicep']['cm'] > 0) {?>
            <span><?php echo $measure_data['bicep']['cm']>0?$measure_data['bicep']['cm']:"";?> <?php echo $measure_data['bicep']['cm']>0?"cm":"";?></span>
            <?php } else { ?>
            <span class="red edit js-edit" data-text="<?php echo L('edit');?>"><?php echo L('edit');?></span>
            <?php } ?>
            <input type="hidden" name="measure[bicep]" value="<?php echo $measure_data['bicep']['cm'];?>">
          </li>
          <li class="col-md-4 align-right">
            <a href="//fast.wistia.net/embed/iframe/tvv0qkacz6?popover=true" class="wistia-popover[height=576,playerColor=3eabb8,width=1024]">
              <span class="btn-play"></span>
              <em class="vm">帮助</em>
            </a>
          </li>
        </ul>
        <?php }?>
        <?php if((!intval($_GET['pid'])&&(in_array("sleeve",$data_arr)||$cart==0))||(intval($_GET['pid'])&&in_array("sleeve",$measure_data_model))){?>
        <ul class="col-sm-6">
          <li class="col-md-4 text<?php if($measure_data['sleeve']['cm']==0){?> red<?php }?>"><?php echo L('sleeve_length');?></li>
          <li class="col-md-4 js-measure-value" data-measure-val="<?php echo $measure_data['sleeve']['cm'];?>">
            <?php if($measure_data['sleeve']['cm'] > 0) {?>
            <span><?php echo $measure_data['sleeve']['cm']>0?$measure_data['sleeve']['cm']:"";?> <?php echo $measure_data['sleeve']['cm']>0?"cm":"";?></span>
            <?php } else { ?>
            <span class="red edit js-edit" data-text="<?php echo L('edit');?>"><?php echo L('edit');?></span>
            <?php } ?>
            <input type="hidden" name="measure[sleeve]" value="<?php echo $measure_data['sleeve']['cm'];?>">
          </li>
          <li class="col-md-4 align-right">
            <a href="//fast.wistia.net/embed/iframe/wc5ur7xnl1?popover=true" class="wistia-popover[height=576,playerColor=3eabb8,width=1024]">
              <span class="btn-play"></span>
              <em class="vm">帮助</em>
            </a>
          </li>
        </ul>
        <?php }?>
        <?php if((!intval($_GET['pid'])&&(in_array("wrist",$data_arr)||$cart==0))||(intval($_GET['pid'])&&in_array("wrist",$measure_data_model))){?>
        <ul class="col-sm-6">
          <li class="col-md-4 text<?php if($measure_data['wrist']['cm']==0){?> red<?php }?>"><?php echo L('wrist_size');?></li>
          <li class="col-md-4 js-measure-value" data-measure-val="<?php echo $measure_data['wrist']['cm'];?>">
            <?php if($measure_data['wrist']['cm'] > 0) {?>
            <span><?php echo $measure_data['wrist']['cm']>0?$measure_data['wrist']['cm']:"";?> <?php echo $measure_data['wrist']['cm']>0?"cm":"";?></span>
            <?php } else { ?>
            <span class="red edit js-edit" data-text="<?php echo L('edit');?>"><?php echo L('edit');?></span>
            <?php } ?>
            <input type="hidden" name="measure[wrist]" value="<?php echo $measure_data['wrist']['cm'];?>">
          </li>
          <li class="col-md-4 align-right">
            <a href="//fast.wistia.net/embed/iframe/kqcq7l40r0?popover=true" class="wistia-popover[height=576,playerColor=3eabb8,width=1024]">
              <span class="btn-play"></span>
              <em class="vm">帮助</em>
            </a>
          </li>
        </ul>
        <?php }?>
        <?php if((!intval($_GET['pid'])&&(in_array("shirt",$data_arr)||$cart==0))||(intval($_GET['pid'])&&in_array("shirt",$measure_data_model))){?>
        <ul class="col-sm-6">
          <li class="col-md-4 text<?php if($measure_data['shirt']['cm']==0){?> red<?php }?>"><?php echo L('shirt_length');?></li>
          <li class="col-md-4 js-measure-value" data-measure-val="<?php echo $measure_data['shirt']['cm'];?>">
            <?php if($measure_data['shirt']['cm'] > 0) {?>
            <span><?php echo $measure_data['shirt']['cm']>0?$measure_data['shirt']['cm']:"";?> <?php echo $measure_data['shirt']['cm']>0?"cm":"";?></span>
            <?php } else { ?>
            <span class="red edit js-edit" data-text="<?php echo L('edit');?>"><?php echo L('edit');?></span>
            <?php } ?>
            <input type="hidden" name="measure[shirt]" value="<?php echo $measure_data['shirt']['cm'];?>">
          </li>
          <li class="col-md-4 align-right">
            <a href="//fast.wistia.net/embed/iframe/jjhnh52xns?popover=true" class="wistia-popover[height=576,playerColor=3eabb8,width=1024]">
              <span class="btn-play"></span>
              <em class="vm">帮助</em>
            </a>
          </li>
        </ul>
        <?php }?>
        <?php if((!intval($_GET['pid'])&&(in_array("chest",$data_arr)||$cart==0))||(intval($_GET['pid'])&&in_array("chest",$measure_data_model))){?>
        <ul class="col-sm-6">
          <li class="col-md-4 text<?php if($measure_data['chest']['cm']==0){?> red<?php }?>"><?php echo L('chest_size');?></li>
          <li class="col-md-4 js-measure-value" data-measure-val="<?php echo $measure_data['chest']['cm'];?>">
            <?php if($measure_data['chest']['cm'] > 0) {?>
            <span><?php echo $measure_data['chest']['cm']>0?$measure_data['chest']['cm']:"";?> <?php echo $measure_data['chest']['cm']>0?"cm":"";?></span>
            <?php } else { ?>
            <span class="red edit js-edit" data-text="<?php echo L('edit');?>"><?php echo L('edit');?></span>
            <?php } ?>
            <input type="hidden" name="measure[chest]" value="<?php echo $measure_data['chest']['cm'];?>">
          </li>
          <li class="col-md-4 align-right">
            <a href="//fast.wistia.net/embed/iframe/q87ns1ozxk?popover=true" class="wistia-popover[height=576,playerColor=3eabb8,width=1024]">
              <span class="btn-play"></span>
              <em class="vm">帮助</em>
            </a>
          </li>
        </ul>
        <?php }?>
        <?php if((!intval($_GET['pid'])&&(in_array("stomach",$data_arr)||$cart==0))||(intval($_GET['pid'])&&in_array("stomach",$measure_data_model))){?>
        <ul class="col-sm-6">
          <li class="col-md-4 text<?php if($measure_data['stomach']['cm']==0){?> red<?php }?>"><?php echo L('stomack_size');?></li>
          <li class="col-md-4 js-measure-value" data-measure-val="<?php echo $measure_data['stomach']['cm'];?>">
            <?php if($measure_data['stomach']['cm'] > 0) {?>
              <span><?php echo $measure_data['stomach']['cm']>0?$measure_data['stomach']['cm']:"";?> <?php echo $measure_data['stomach']['cm']>0?"cm":"";?></span>
            <?php } else { ?>
            <span class="red edit js-edit" data-text="<?php echo L('edit');?>"><?php echo L('edit');?></span>
            <?php } ?>
            <input type="hidden" name="measure[stomach]" value="<?php echo $measure_data['stomach']['cm'];?>">
          </li>
          <li class="col-md-4 align-right">
            <a href="//fast.wistia.net/embed/iframe/1grt4k3lye?popover=true" class="wistia-popover[height=576,playerColor=3eabb8,width=1024]">
              <span class="btn-play"></span>
              <em class="vm">帮助</em>
            </a>
          </li>
        </ul>
        <?php }?>
        <?php if((!intval($_GET['pid'])&&(in_array("waist",$data_arr)||$cart==0))||(intval($_GET['pid'])&&in_array("waist",$measure_data_model))){?>
        <ul class="col-sm-6">
          <li class="col-md-4 text<?php if($measure_data['waist']['cm']==0){?> red<?php }?>"><?php echo L('Waist');?></li>
          <li class="col-md-4 js-measure-value" data-measure-val="<?php echo $measure_data['waist']['cm'];?>">
            <?php if($measure_data['waist']['cm'] > 0) {?>
            <span><?php echo $measure_data['waist']['cm']>0?$measure_data['waist']['cm']:"";?> <?php echo $measure_data['waist']['cm']>0?"cm":"";?></span>
            <?php } else { ?>
            <span class="red edit js-edit" data-text="<?php echo L('edit');?>"><?php echo L('edit');?></span>
            <?php } ?>
            <input type="hidden" name="measure[waist]" value="<?php echo $measure_data['waist']['cm'];?>">
          </li>
          <li class="col-md-4 align-right">
            <a href="//fast.wistia.net/embed/iframe/2iwrx9fa4u?popover=true" class="wistia-popover[height=576,playerColor=3eabb8,width=1024]">
              <span class="btn-play"></span>
              <em class="vm">帮助</em>
            </a>
          </li>
        </ul>
        <?php }?>
        <?php if((!intval($_GET['pid'])&&(in_array("pants_hips",$data_arr)||$cart==0))||(intval($_GET['pid'])&&in_array("pants_hips",$measure_data_model))){?>
        <ul class="col-sm-6">
          <li class="col-md-4 text<?php if($measure_data['pants_hips']['cm']==0){?> red<?php }?>"><?php echo L('pants_hips');?></li>
          <li class="col-md-4 js-measure-value" data-measure-val="<?php echo $measure_data['pants_hips']['cm'];?>">
            <?php if($measure_data['pants_hips']['cm'] > 0) {?>
            <span><?php echo $measure_data['pants_hips']['cm']>0?$measure_data['pants_hips']['cm']:"";?> <?php echo $measure_data['pants_hips']['cm']>0?"cm":"";?></span>
            <?php } else { ?>
            <span class="red edit js-edit" data-text="<?php echo L('edit');?>"><?php echo L('edit');?></span>
            <?php } ?>
            <input type="hidden" name="measure[pants_hips]" value="<?php echo $measure_data['pants_hips']['cm'];?>">
          </li>
          <li class="col-md-4 align-right">
            <a href="//fast.wistia.net/embed/iframe/70nvo80l4k?popover=true" class="wistia-popover[height=576,playerColor=3eabb8,width=1024]">
              <span class="btn-play"></span>
              <em class="vm">帮助</em>
            </a>
          </li>
        </ul>
        <?php }?>
        <?php if((!intval($_GET['pid'])&&(in_array("pants",$data_arr)||$cart==0))||(intval($_GET['pid'])&&in_array("pants",$measure_data_model))){?>
        <ul class="col-sm-6">
          <li class="col-md-4 text<?php if($measure_data['pants']['cm']==0){?> red<?php }?>"><?php echo L('pants_length');?></li>
          <li class="col-md-4 js-measure-value" data-measure-val="<?php echo $measure_data['pants']['cm'];?>">
            <?php if($measure_data['pants']['cm'] > 0) {?>
            <span><?php echo $measure_data['pants']['cm']>0?$measure_data['pants']['cm']:"";?> <?php echo $measure_data['pants']['cm']>0?"cm":"";?></span>
            <?php } else { ?>
            <span class="red edit js-edit" data-text="<?php echo L('edit');?>"><?php echo L('edit');?></span>
            <?php } ?>
            <input type="hidden" name="measure[pants]" value="<?php echo $measure_data['pants']['cm'];?>">
          </li>
          <li class="col-md-4 align-right">
            <a href="//fast.wistia.net/embed/iframe/jype768yo4?popover=true" class="wistia-popover[height=576,playerColor=3eabb8,width=1024]">
              <span class="btn-play"></span>
              <em class="vm">帮助</em>
            </a>
          </li>
        </ul>
        <?php }?>
        <?php if((!intval($_GET['pid'])&&(in_array("crotch",$data_arr)||$cart==0))||(intval($_GET['pid'])&&in_array("crotch",$measure_data_model))){?>
        <ul class="col-sm-6">
          <li class="col-md-4 text<?php if($measure_data['crotch']['cm']==0){?> red<?php }?>"><?php echo L('crotch');?></li>
          <li class="col-md-4 text js-measure-value" data-measure-val="<?php echo $measure_data['crotch']['cm'];?>">
            <?php if($measure_data['crotch']['cm'] > 0) {?>
            <span><?php echo $measure_data['crotch']['cm']>0?$measure_data['crotch']['cm']:"";?> <?php echo $measure_data['crotch']['cm']>0?"cm":"";?></span>
            <?php } else { ?>
            <span class="red edit js-edit" data-text="<?php echo L('edit');?>"><?php echo L('edit');?></span>
            <?php } ?>
            <input type="hidden" name="measure[crotch]" value="<?php echo $measure_data['crotch']['cm'];?>">
          </li>
          <li class="col-md-4 align-right">
            <a href="//fast.wistia.net/embed/iframe/opklczcn3p?popover=true" class="wistia-popover[height=576,playerColor=3eabb8,width=1024]">
              <span class="btn-play"></span>
              <em class="vm">帮助</em>
            </a>
          </li>
        </ul>
        <?php }?>
        <?php if((!intval($_GET['pid'])&&(in_array("thigh",$data_arr)||$cart==0))||(intval($_GET['pid'])&&in_array("thigh",$measure_data_model))){?>
        <ul class="col-sm-6">
          <li class="col-md-4 text<?php if($measure_data['thigh']['cm']==0){?> red<?php }?>"><?php echo L('thigh_size');?></li>
          <li class="col-md-4 js-measure-value" data-measure-val="<?php echo $measure_data['thigh']['cm'];?>">
            <?php if($measure_data['thigh']['cm'] > 0) {?>
            <span><?php echo $measure_data['thigh']['cm']>0?$measure_data['thigh']['cm']:"";?> <?php echo $measure_data['thigh']['cm']>0?"cm":"";?></span>
            <?php } else { ?>
            <span class="red edit js-edit" data-text="<?php echo L('edit');?>"><?php echo L('edit');?></span>
            <?php } ?>
            <input type="hidden" name="measure[thigh]" value="<?php echo $measure_data['thigh']['cm'];?>">
          </li>
          <li class="col-md-4 align-right">
            <a href="//fast.wistia.net/embed/iframe/zxad0jaot9?popover=true" class="wistia-popover[height=576,playerColor=3eabb8,width=1024]">
              <span class="btn-play"></span>
              <em class="vm">帮助</em>
            </a>
          </li>
        </ul>
        <?php }?>
        <?php if((!intval($_GET['pid'])&&(in_array("knee",$data_arr)||$cart==0))||(intval($_GET['pid'])&&in_array("knee",$measure_data_model))){?>
        <ul class="col-sm-6">
          <li class="col-md-4 text<?php if($measure_data['knee']['cm']==0){?> red<?php }?>"><?php echo L('knee_size');?></li>
          <li class="col-md-4 text js-measure-value" data-measure-val="<?php echo $measure_data['knee']['cm'];?>">
            <?php if($measure_data['knee']['cm'] > 0) {?>
            <span><?php echo $measure_data['knee']['cm']>0?$measure_data['knee']['cm']:"";?> <?php echo $measure_data['knee']['cm']>0?"cm":"";?></span>
            <?php } else { ?>
            <span class="red edit js-edit" data-text="<?php echo L('edit');?>"><?php echo L('edit');?></span>
            <?php } ?>
            <input type="hidden" name="measure[knee]" value="<?php echo $measure_data['knee']['cm'];?>">
          </li>
          <li class="col-md-4 align-right">
            <a href="//fast.wistia.net/embed/iframe/2me0x60p0i?popover=true" class="wistia-popover[height=576,playerColor=3eabb8,width=1024]">
              <span class="btn-play"></span>
              <em class="vm">帮助</em>
            </a>
          </li>
        </ul>
        <?php }?>
      </div>
      <?php endif;?>
    </div>
    <div class="align-center mt3x mb3x">
      <button type="submit" class="btn btn-middle hide"><?php echo L('submit');?></button>
      <?php if($measureInfo['m_status'] != 1 && $type != 'cartshow'):?>
      <p class="mt1x text-bold">
        <?php if($measureInfo['m_status'] != 2):?>
        <a href="<?php echo url('/measure/add',array('type'=>'user','mid'=>$_GET['mid']));?>" class="mr2x"><?php echo L('_measure_change_add_');?></a>
        <?php endif;?>
        <?php if(!($measureInfo['front_img'] && $measureInfo['side_img'])):?>
        <a href="<?php echo url('measure/estimation',array('type'=>'user','edit_type'=>'photo','mid'=>$_GET['mid']))?>"><?php echo L('Add_Photo');?></a>
        <?php endif;?>
      </p>
      <?php endif;?>
    </div>
  </form>
</div>
<script src="/statics/front/js/plugins/jquery.popupBox.js"></script>
<script src="/statics/front/js/scripts/measure/edit.js"></script>
<script charset="ISO-8859-1" src="//fast.wistia.com/assets/external/popover-v1.js"></script>
<?php include THEMES_PATH.'public/after_body.phtml'; ?>